<?php

class m120529_150600_update_leave extends EDbMigration {

	public function safeUp() {
		$this->addColumn('leaves', 'status', "varchar(8)");
		$columns = array('status'=>'Approved');
		$this->update('leaves', $columns);
	}

	public function safeDown() {
		$this->dropColumn('leaves', 'status');
	}

}